<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>JSX-kongge</title>
</head>
<body>
  <div id="app"></div>
  <script type="text/javascript" src="../js/react.js"></script>
  <script type="text/javascript" src="../js/react-dom.js"></script>
  <script type="text/javascript" src="../babel/browser.js"></script>
  <script type="text/babel">
    ReactDOM.render(
      <h1>
      {/* 空格表达式,多行注释  */}
      {/* 如果在花括号里使用 &nbsp;会存在多次转意，结果输出的就是&nbsp;。 这时只能
          使用Unicode提供的HTML实体。具体网址https://dev.w3.org/html5/html-author/charref
          用法见下边的{' \u00A5'}
         */}
      {1} plus {2}  { '   is     '} &nbsp;&nbsp; {3} and charter is {' \u00A5'}. </h1>,
      document.getElementById("app")
    );
  </script>
</body>
</html>
